﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using RestSharp;
using tDonkeySite.Models;
using eDonkeyClassLibrary;

namespace tDonkeySite.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            /*ViewBag.Message = "Start a new semester with a new scheduler.";
            var client = new RestClient("http://localhost:45312/");
            var request = new RestRequest("api/Courses/0", Method.GET);
            IRestResponse<eDonkeyClassLibrary.Course> response = client.Execute<eDonkeyClassLibrary.Course>(request);
            ViewBag.Name = response.Data.CourseName;*/
            return View();
        }

        public ActionResult About()
        {
            ViewBag.Message = "Your app description page.";

            return View();
        }

        public ActionResult Contact()
        {            
            return View();
        }
    }
}


